package com.zbkj.common.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 微信发货信息管理响应对象
 * +----------------------------------------------------------------------
 * | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
 * +----------------------------------------------------------------------
 * | Author: CRMEB Team <admin@crmeb.com>
 * +----------------------------------------------------------------------
 */
@Data
@ApiModel(value = "WechatShippingResponse对象", description = "微信发货信息管理响应对象")
public class WechatShippingResponse {

    @ApiModelProperty(value = "错误码，0为成功")
    @JsonProperty("errcode")
    private Integer errCode;

    @ApiModelProperty(value = "错误信息")
    @JsonProperty("errmsg")
    private String errMsg;

    @ApiModelProperty(value = "发货信息是否符合规范")
    private Boolean shipped;

    @ApiModelProperty(value = "订单是否能够上传发货信息")
    private Boolean canUpload;

    @ApiModelProperty(value = "物流状态，0未发货，1已发货，2已收货，3退款中，4已退款，5退款失败")
    private Integer status;

    @ApiModelProperty(value = "发货时间戳")
    private Long shipTime;

    @ApiModelProperty(value = "上传时间戳") 
    private Long uploadTime;

    @ApiModelProperty(value = "物流单号")
    private String trackingNo;

    @ApiModelProperty(value = "物流公司编码")
    private String expressCompany;

    @ApiModelProperty(value = "物流公司名称")
    private String expressName;
} 